<?php



class CategoriesDescriptionMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.CategoriesDescriptionMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('categories_description');
		$tMap->setPhpName('CategoriesDescription');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('CATEGORIES_ID', 'CategoriesId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addPrimaryKey('LANGUAGE_ID', 'LanguageId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('CATEGORIES_NAME', 'CategoriesName', 'string', CreoleTypes::VARCHAR, true, 32);

	} 
} 